Skip to main content

itemNames

Type

property

Summary

The names used to identify segments

Syntax

get the itemNames of <widget>
set the itemNames of <widget> to <nameList>

Description

The names of each segment in the control. The itemNames can be a more convenient way to identify the segments than by their positions.

You are recommended to use a non-empty, unique name for each segment.

When you set the itemNames to a string that has fewer names than the itemCount, the remaining segments' names are set to empty.

When you set the itemNames to a string that that has more names than the itemCount, the extra names are ignored.

property: itemLabels, hilitedItemName